-
Notifications
You must be signed in to change notification settings - Fork 154
docs: Update metrics docs to mention correct POWERTOOLS_METRICS_DISABLED variable name. #3848
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Docs mentions POWERTOOLS_METRICS_ENABLED however the library does not uses this environment variable to control metrics logs. Instead it uses POWERTOOLS_METRICS_DISABLED
Thanks a lot for your first contribution! Please check out our contributing guidelines and don't hesitate to ask whatever you need. |
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please also update the env variable here?
Other than that it's ok.
Update environment-variables.md file to mention `POWERTOOLS_METRICS_DISABLED` environment variable instead of `POWERTOOLS_METRICS_ENABLED`
|
Hi @dreamorosi the change is ready, You can review again. Thanks! |
Awesome work, congrats on your first merged pull request and thank you for helping improve everyone's experience! |
Thank you for iterating on this PR and congrats on landing your first contribution in this project! |
Summary
Changes
The metrics docs mention
POWERTOOLS_METRICS_ENABLED
can be used to not log the metrics. However this env variable is not used. Insted it usesPOWERTOOLS_METRICS_DISABLED
.Check line where env variables for Metrics are defined.
Issue number: #3847
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.